package com.czwj.service;

import java.util.List;
import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import com.czwj.entities.FinishApply;

public interface FinishApplyService {

	List<FinishApply> searchbylevel3(Map<String, Object> map);

	int countbylevel3(Map<String, Object> map);

	int update(FinishApply finishApply);

	int insert(FinishApply finishApply);

	int updateStatus(int id);

	FinishApply selectByPrimaryKey(int id);

	FinishApply searchbyprojectitemid(int id);

	List<FinishApply> searchReviewedLevel1(Map<String, Object> map);

	int countReviewedLevel1(Map<String, Object> map);

	List<FinishApply> searchReviewedLevel2(Map<String, Object> map);

	int countReviewedLevel2(Map<String, Object> map);

	List<FinishApply> searchbyprojectitem(Integer projectitemid);

	int insertorupdate(Integer id, Integer projectitemid, String tubing, Integer status,
			int createrid, String createip, MultipartFile[] images);

	int remove(int id);

}
